package sharewithus.content.dao;

import java.util.List;

import sharewithus.content.dto.Feed;
import sharewithus.content.dto.FeedRelationship;

/**
 * Db layer to operate feed
 * @author Bruce Wang
 *
 */
public interface IFeedDao {
	
	/**
	 * Title: saveFeed
	 * description: save feed
	 * @param feed
	 * @return
	 */
	public void saveFeed(Feed feed);
	
	/**
	 * 
	 * @param feedId
	 * @return
	 */
	public Feed getFeedById(String feedId);
	
	
	public void deleteFeed(String feedId);
	
	/**
	 * 
	 * @param ownerId
	 * @return
	 */
	//public List<Feed> getPublishedFeeds(String ownerId);
	

	
}
